package com.levi.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author shentong
 * @since 2022/6/12 11:56 AM
 */
@FeignClient(value = "service-seata-product")
public interface ProductClient {

    @GetMapping("/product/decut")
    boolean decut(@RequestParam Integer id, @RequestParam Integer count);
}
